package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <h1>专区商品表表 micro_prefecture_goods</h1>
 *
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "专区商品表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_prefecture_goods")
public class PrefectureGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty(value = "主键编号")
    private Long id;


    /**
     * 专区编号
     */
    @ApiModelProperty(value = "专区编号")
    private String prefectureCode;


    /**
     * 商品sku编号
     */
    @ApiModelProperty(value = "商品sku编号")
    private String goodsSkuCode;


    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer goodsSort;


    /**
     * 运营是否干预:1.系统默认 2.运营干预
     */
    @ApiModelProperty(value = "运营是否干预:1.系统默认 2.运营干预")
    private Byte isMeddle;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    /**
     * 推荐状态 1、推荐中，2、撤销推荐
     */
    @ApiModelProperty(value = "推荐状态 1、推荐中，2、撤销推荐")
    private Byte goodsStatus;


    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String goodsName;

}
